/** \file DefaultMixer.h
    \author belot.nicolas
    the default mixer...
*/

#include "Mixer.h"
#ifndef DEFAULTMIXER_H
#define DEFAULTMIXER_H 1

namespace libtrckr {

class DefaultMixer : public Mixer {
	/** \class libtrckr::DefaultMixer
	the default mixer */
	public:	
	DefaultMixer();
	DefaultMixer(const DefaultMixer&);
	~DefaultMixer();
	uint tracks() const;//Number of tracks we mix
	void tracks(uint);

	uint length() const;//length of the Mixer 
	void length(uint);

	void Append(Buffer&, uint, uint,int);//append the buffer, track, % left
	
	Buffer Mixed();//return mixed data

	private:
	Buffer _mix;
	uint _tracks;
	uint _size;
};


}

#endif
